/**
 * 模型地址
 */
import * as changjingUrl from "../asset/model/changJing.glb";

/**
 * 立方纹理（6个面对应的6张图片）地址
 */
import * as lightCubePX from '../asset/texture/lightCube/px.png';
import * as lightCubeNX from '../asset/texture/lightCube/nx.png';
import * as lightCubePY from '../asset/texture/lightCube/py.png';
import * as lightCubeNY from '../asset/texture/lightCube/ny.png';
import * as lightCubePZ from '../asset/texture/lightCube/pz.png';
import * as lightCubeNZ from '../asset/texture/lightCube/nz.png';

/**
 * 工程外部配置
 */
import config from '../asset/data/config.json';

/**
 * 工程内部配置
 */
import appConfig from './app-config.json';

/**
 * 资源地址
 * @member changJing 模型地址
 * @member lightCubePX 立方纹理-正x
 * @member lightCubeNX 立方纹理-负x
 * @member lightCubePY 立方纹理-正y
 * @member lightCubeNY 立方纹理-负y
 * @member lightCubePZ 立方纹理-正z
 * @member lightCubeNZ 立方纹理-负z
 * @member config 工程外部配置
 */
class RawAssetsUrl {
    public static changjing = changjingUrl.default;
    public static readonly lightCubePX = lightCubePX.default;
    public static readonly lightCubeNX = lightCubeNX.default;
    public static readonly lightCubePY = lightCubePY.default;
    public static readonly lightCubeNY = lightCubeNY.default;
    public static readonly lightCubePZ = lightCubePZ.default;
    public static readonly lightCubeNZ = lightCubeNZ.default;
    public static readonly config = config;
}

/**
 * 数据
 * @member appConfig 工程内部配置
 * @member config 工程外部配置（重复了）
 */
class RawData {
    public static readonly appConfig = appConfig;
    public static config: any = null;
}

/**
 * 有用的资源名称
 */
class RawAssetsName {
    public static readonly rootNode = 'moXing';
}

export { RawAssetsUrl, RawAssetsName, RawData };